package com.origin.utils.time;

public class TimeBean {


    private TimeBean() {
    }

    /**
     * 单一实例
     */
    public static TimeBean getInstance() {

        return TimeBeanHolder.timeBeanInstance;
    }

    //静态内部类
    private static class TimeBeanHolder {

        private static final TimeBean timeBeanInstance = new TimeBean();
    }

    Long day;
    Long hour;
    Long min;
    Long sec;

    public Long getDay() {
        return day;
    }

    public void setDay(Long day) {
        this.day = day;
    }

    public Long getHour() {
        return hour;
    }

    public void setHour(Long hour) {
        this.hour = hour;
    }

    public Long getMin() {
        return min;
    }

    public void setMin(Long min) {
        this.min = min;
    }

    public Long getSec() {
        return sec;
    }

    public void setSec(Long sec) {
        this.sec = sec;
    }
}
